//
//  XLAccountSafeInteractor.m
//  industry
//
//  Created by xl on 2020/12/9.
//  Copyright © 2020 Haier. All rights reserved.
//

#import "XLAccountSafeInteractor.h"
#import "XLAccountSafeInteractorProtocol.h"
#import "AppStartUpConfig.h"
#import "XLModifyPSVC.h"
#import "XLUnlockSettingVC.h"


@interface XLAccountSafeInteractor ()<XLAccountSafeInteractorProtocol>

@end
@implementation XLAccountSafeInteractor

- (void)dealloc {
    XLLog(@"XLAccountSafeInteractor dealloc");
}

#pragma mark - XLUserCenterInteractorProtocol
- (void)gotoLoginVC {
    [[AppStartUpConfig sharedAppStartUpConfig] jumpLoginRegsiterControllerWithVC:self.baseController];
}

- (void)gotoModifyPSVC {
    XLModifyPSVC *vc = [[XLModifyPSVC alloc] init];
    vc.fromType = XLModifyPSVCFromTypeNext;
    [self.baseController.navigationController pushViewController:vc animated:YES];
}

- (void)gotoUnlockSettingVC {
    XLUnlockSettingVC *vc = [[XLUnlockSettingVC alloc] init];
    [self.baseController.navigationController pushViewController:vc animated:YES];
}

@end
